<template name="createChannelInfo">
  <h2 class="font-weight-light my-3">先填写频道信息</h2>
  {{> createChannelInfoType label="这个频道用于？"}}
  {{> createChannelInfoNumberOfPeople label="你的频道预计会有多少人参与？"}}
  {{> createChannelInfoPolicy label="这个频道将会是？"}}
  {{> createChannelInfoApplyPolicy}}
  <div class="form-group">
    <button type="button" class="btn btn-primary btn-block" id="submit-channel-info">下一步</button>
  </div>
</template>

<template name="createChannelInfoType">
  <div class="form-group">
    <label for="channel-info-type">{{label}}</label>
    <select id="channel-info-type"></select>
  </div>
</template>

<template name="createChannelInfoNumberOfPeople">
  <div class="form-group">
    <label for="channel-info-number-of-people">{{label}}</label>
    <select class="form-control" id="channel-info-number-of-people"></select>
  </div>
</template>

<template name="createChannelInfoPolicy">
  <div class="form-group">
    <label for="channel-info-policy">{{label}}</label>
    <select class="form-control" id="channel-info-policy"></select>
    <small id="channel-info-policy-help" class="form-text text-muted">所有地方的所有人都可以进入</small>
  </div>
</template>

<template name="createChannelInfoApplyPolicy">
  <div class="form-group">
    <div class="custom-control custom-checkbox">
      <input type="checkbox" class="custom-control-input" name="channel-info-apply-policy" id="channel-info-apply-policy">
      <label class="custom-control-label" for="channel-info-apply-policy">他人需要申请才能加入你的频道？</label>
    </div>
  </div>
</template>